import { Component, OnInit, Input, ChangeDetectionStrategy } from '@angular/core';

@Component({
  selector: 'app-horizontal-grid',
  templateUrl: './horizontal-grid.component.html',
  styleUrls: ['./horizontal-grid.component.css'],
  changeDetection: ChangeDetectionStrategy.OnPush
})
export class HorizontalGridComponent implements OnInit {
  private UserName = '';
  // @Output() usernameChange = new EventEmitter<string>();
  @Input()
  public get userName(): string {
    return this.UserName;
  }
  public set userName(value: string) {
    this.UserName = value;
    // this.usernameChange.emit(value);
  }
  constructor() { }

  ngOnInit() {
  }

}
